home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
elfdump.z
/
elfdump
Wrap
Text File
|
1998-10-30
|
12KB
|
331 lines
EEEELLLLFFFFDDDDUUUUMMMMPPPP EEEELLLLFFFFDDDDUUUUMMMMPPPP
NNNNAAAAMMMMEEEE
elfdump - dumps selected parts of a 32-bit or a 64-bit ELF object
file/archive and displays them in ELF style
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
eeeellllffffdddduuuummmmpppp [ options ] file
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The eeeellllffffdddduuuummmmpppp command dumps selected parts of a given ELF object _f_i_l_e or an
archive _f_i_l_e.
This command works for 32-bit or 64-bit ELF object files or ELF archives
only. In the case of an archive, options other than ----gggg generate output
output from each object in the archive. eeeellllffffdddduuuummmmpppp accepts one or more of
these options:
----aaaa Dumps the archive header of each member of an archive.
----bbbbrrrriiiieeeeffff
Dump most sections in the file. Like ----hhhh, but leaves out
sections whose names begin with ._d_e_b_u_g_, ._r_e_l, or ._M_I_P_S.
----cccc Dumps the string table.
----ccccmmmmtttt Dumps the .comment section.
----ccccnnnntttt Dumps the .content sections.
----ccccrrrr Dumps compact relocation information.
----dddd <_l_o_w_s_e_c_t_i_o_n>,<_h_i_g_h_s_e_c_t_i_o_n>
Restricts range of sections printed. The section numbers must
be decimal (not octal or hexadecimal). Example: elfdump -s -d
8,10 foo Use this to restrict the range of sections printed.
Various special sections print regardless of this.
----ddddiiiinnnnffffoooo
Dumps ._M_I_P_S._d_c_l_a_s_s section.
----ddddiiiinnnnsssstttt
Dumps ._M_I_P_S._i_n_s_t section.
----ddddssssyyyymmmm
Dumps ._M_I_P_S._s_y_m section.
----eeee Dumps events sections.
----ffff Dumps the ELF header.
----gggg Dumps an archive symbol table.
PPPPaaaaggggeeee 1111
EEEELLLLFFFFDDDDUUUUMMMMPPPP EEEELLLLFFFFDDDDUUUUMMMMPPPP
----hhhh Dumps all section headers in the file.
----hhhhaaaasssshhhh
Dumps hash section entries.
----iiii Dumps the .interp section
----iiiiffffcccc Dump the ._M_I_P_S._i_n_t_e_f_a_c_e_s section
----iiiinnnnffffoooo
Dump information such as whether the object has been
requickstarted (_r_q_s(1)) or _c_o_r_d(1)ed.
----llll This option emits a message suggesting you use the _d_w_a_r_f_d_u_m_p(1)
or _s_t_d_u_m_p(1) command to dump debugging line information. For
objects compiled -64 or -n32 use _d_w_a_r_f_d_u_m_p. For objects
compiled -32 use _s_t_d_u_m_p.
----lllloooonnnngggg
When used with -_L changes type names to print in full, matching
names in _e_l_f._h. Affects only -_L.
----nnnn _s_e_c_t_i_o_n_n_a_m_e
Dumps a named section.
----nnnnoooo____vvvveeeerrrrbbbboooosssseeee
Turn off ----vvvv option. For some fields that print string values,
names or interpreted flag values, this changes the output to be
the plain indexes or offsets or flag.
----oooo Dumps each program execution header.
----oooopppp Dumps the .options section.
----pppp Suppresses printing of headings.
----rrrr Dumps relocation information.
----rrrreeeegggg Dumps ._r_e_g_i_n_f_o section.
----rrrrpppptttt Dumps runtime procedure table.
----ssss Dumps contents of all sections (but see ----dddd above)
----ssssvvvvrrrr4444
Dump information in svr4 style.
----tttt Dumps symbol table (the .symtab section) entries. (see also
the ----TTTT <_l_o_w_i_n_d_e_x>,<_h_i_g_h_i_n_d_e_x> option below). (Programs and
DSOs do not normally have a .symtab section. For programs and
DSOs use the ----DDDDtttt option to print the .dynsym section.)
PPPPaaaaggggeeee 2222
EEEELLLLFFFFDDDDUUUUMMMMPPPP EEEELLLLFFFFDDDDUUUUMMMMPPPP
----vvvv Prints information in verbose form. This is the default.
Sometimes 'verbose' means interpret fields and print
symbolically. To turn this off (therefore printing the fields
literally as numbers) use the ----nnnnoooo____vvvveeeerrrrbbbboooosssseeee option.
----xxxxllll print the 'translate' section (Elf section type SHT_MIPS_XLATE)
of an object file. See _x_l_a_t_e(4). This is mostly intended for
use by those working on tools that create this section, such as
_c_o_r_d(1) or _p_i_x_i_e(1).
----xxxxlllldddd print the 'translate' debug section (Elf section type
SHT_MIPS_XLATE_DEBUG) of an object file. See _x_l_a_t_e(4). This
is mostly intended for use by those working on tools that
create this section, such as _c_o_r_d(1) or _p_i_x_i_e(1).
----xxxxlllliiii dump the 'translate' section (SHT_MIPS_XLATE) of an object file
in a form closely modeling the internal storage details. This
is mostly intended for use by those working on tools that
create this section, such as _c_o_r_d(1) or _p_i_x_i_e(1).
----xxxxllllddddiiii
dump the 'translate' debug section (SHT_MIPS_XLATE_DEBUG) of an
object file in a form closely modeling the internal storage
details. This is mostly intended for use by those working on
tools that create this section, such as _c_o_r_d(1) or _p_i_x_i_e(1).
----AAAA Prints the beginning address of a section. For some section
'content dumps' it prints the virtual address for each line of
section output.
----BBBB Prints filename each detail line of output when ----cccc is
specified.
----CCCC Dumps decoded C++ symbol names.
----DDDDgggg Dumps got table in dynamic shared objects.
----DDDDllll Dumps library list in dynamic shared objects.
----DDDDcccc Dumps conflict list in dynamic shared objects.
----DDDDssssyyyymmmmlllliiiibbbb
Dumps ._M_I_P_S._s_y_m_l_i_b
----DDDDtttt Dumps the dynamic symbol table (the .dynsym section).
----FFFF Dumps the literal tables.
----GGGG Dumps gp table information.
PPPPaaaaggggeeee 3333
EEEELLLLFFFFDDDDUUUUMMMMPPPP EEEELLLLFFFFDDDDUUUUMMMMPPPP
----LLLL Dumps the .dynamic (various flags and values) and the .liblist
(list of named DSOs) sections. (The .dynamic and .liblist
sections are used by _r_l_d(1)). The .liblist flag field prints D
if the LL_DELAY_LOAD bit is on, E if the LL_EXPORTS bit is on,
R if the LL_REQUIRE_MINOR bit is on, I if the LL_IGNORE_INT_VER
bit is on, and M if the LL_EXACT_MATCH bit is on. To see these
sections with the values as uninterpreted numbers (for example,
to see the actual flag bits in the .liblist) use the
----nnnnoooo____vvvveeeerrrrbbbboooosssseeee option.
----PPPPppppeeeerrrrffff
Dumps the ._M_I_P_S._P_e_r_f__t_a_b_l_e section (a section created by
_p_i_x_i_e(1)).
----PPPPbbbbiiiinnnnmmmmaaaapppp
Dumps the ._M_I_P_S._P_e_r_f__b_b__o_f_f_s_e_t_s section (a section created by
_p_i_x_i_e).
----PPPPggggrrrraaaapppphhhh
Dumps the ._M_I_P_S._P_e_r_f__c_a_l_l__g_r_a_p_h section (a section created by
_p_i_x_i_e).
----PPPPaaaaddddddddrrrrssss
Dumps the ._M_I_P_S._A_d_d_r_s section (a section created by _p_i_x_i_e).
----PPPPffffuuuunnnnccccnnnnooooddddeeee
Dumps the ._M_I_P_S._P_e_r_f__f_u_n_c_t_i_o_n section (a section created by
_p_i_x_i_e).
----PPPPwwwweeeeaaaakkkk
Dumps the ._M_I_P_S._P_e_r_f__w_e_a_k__n_a_m_e_s section (a section created by
_p_i_x_i_e).
----RRRR Dumps register info.
----TTTT <_l_o_w_i_n_d_e_x>,<_h_i_g_h_i_n_d_e_x>
Dumps the symbol table entries in the given range. (Like ----tttt
but restricted to a range of entries.)
----VVVV Dumps version information.
The eeeellllffffdddduuuummmmpppp command tries to format information in a helpful way,
printing information in character, hexadecimal, octal, or decimal,
as appropriate.
NNNNOOOOTTTTEEEESSSS
The ----DDDD and ----llll options, which formerly dumped debugging and line
information, are no longer supported in _e_l_f_d_u_m_p. To obtain debugging and
line number information for 64-bit objects and objects compiled -n32, use
the _d_w_a_r_f_d_u_m_p command. For objects compiled -32 use the _s_t_d_u_m_p command.
PPPPaaaaggggeeee 4444
EEEELLLLFFFFDDDDUUUUMMMMPPPP EEEELLLLFFFFDDDDUUUUMMMMPPPP
The interaction of options with each other is mostly unspecified and the
interactions can be surprising (with some option combinations a section
might be printed more than once, for example).
SSSSEEEEEEEE AAAALLLLSSSSOOOO
_d_w_a_r_f_d_u_m_p(1), _s_t_d_u_m_p(1), _a_r(4), _e_l_f(4), _a._o_u_t(4), _x_l_a_t_e(4), _o_d_u_m_p(1),
_r_q_s(1).
PPPPaaaaggggeeee 5555